<?php if($category && $category['picture'] && !empty($category['picture'])): ?>
<style type="text/css">
.centerinbox {
    background-image: url("<?php echo @myPicture::getInstance($category['picture'])->thumbnail(965,658, 'center')->url() ?>");
    background-position: center top;
    background-repeat: no-repeat;
    width: 965px;
}
</style>
<?php endif; ?>